package com.wx.commons.annotation;

import com.wx.commons.constant.OperationTypeEnum;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

// 打印操作日志
@Target({ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
public @interface OperationLog {

    String value() default"";

    OperationTypeEnum operationTypeEnum() default OperationTypeEnum.OTHER;
}
